package ee.ttu.frontend.service;

import ee.ttu.model.Ettepanek;
import ee.ttu.model.Oppejoud;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestParam;

@Service
public interface WishService {


    public Ettepanek getSoov(long soovId);

    public List<Ettepanek> getSoovid();

    public List<Ettepanek> getOppejouSoovid(long oppejouId);
    
	public void acceptWish(String kasutaja, long id,Model model);
	 
	public void declineWish(String kasutaja, long id, Model model);
	 
	public void activateWish(String kasutaja, long id, Model model);
	 
	public void deactivateWish(String kasutaja, long id, Model model);
	 
	public void createWish(String title,String description,String topicCode,String studentUsername,String teacherUsername, Model model);
	 
	public void changeWish(long wishId,String title,String description,String studentUserName, Model model);
}
